package com.peng.commonlibrary.allkindsoflist.expandablelist;

import static com.peng.commonlibrary.allkindsoflist.expandablelist.ExpandSampleAdapter.TYPE_ITEM;
import static com.peng.commonlibrary.allkindsoflist.expandablelist.ExpandableRecyclerAdapter.TYPE_HEADER;

/**
 * Created by M_genius on 2018/1/31 10:24.
 * 描述：
 */

public class ExpandSampleItem extends ExpandableRecyclerAdapter.ListItem {

    public String Text;

    public ExpandSampleItem(String group) {
        super(TYPE_HEADER);
        Text = group;
    }

    public ExpandSampleItem(String first, String last) {
        super(TYPE_ITEM);
        Text = first + " " + last;
    }
}